package com.college.mapper;

import com.college.entity.ScheduleInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 课表 Mapper 接口
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Mapper
public interface ScheduleInfoMapper extends BaseMapper<ScheduleInfo> {

    @Select("select * from schedule_info where teacher_number = #{teacherNumber}")
    List<ScheduleInfo> getSchedulesByTeacherNumber(String teacherNumber);
}
